{%extends "base.html"%}
{%block body%}
<h2>Event Entries {{club.name|escape}} {{club.location|escape}} {{club.website|escape}}</h2>

<table class="sample">
	<tr>

	    <th>ID</th>
	    <th>Checkout ID</th>
	    <th>Membership</th>
	    <th>First</th>
	    <th>Middle</th><th>Last</th><th>Gender</th><th>Birth Month</th><th>Birth Day</th><th>Birth Year</th>
	    <th>Email</th><th>Address Line 1</th><th>Address Line 2</th><th>City</th><th>State</th><th>Country</th><th>Member Type</th>
	    <th>Creation</th>
	</tr>
{%for entry in entries%}
<tr class="d1">
<td><a href="{%url views.showclubentry entry.key.id%}">Show</a></td>
<td>{{entry.checkout_id|escape}}</td>
<td>{{entry.membership_type|escape}}</td>
<td>{{entry.first|escape}}</td>
<td>{{entry.middle|escape}}</td>
<td>{{entry.last|escape}}</td>
<td>{{entry.gender|escape}}</td>
<td>{{entry.birth_month|escape}}</td>
<td>{{entry.birth_day|escape}}</td>
<td>{{entry.birth_year|escape}}</td>
<td>{{entry.email|escape}}</td>
<td>{{entry.address_line_1|escape}}</td>
<td>{{entry.address_line_2|escape}}</td>
<td>{{entry.city|escape}}</td>
<td>{{entry.state|escape}}</td>
<td>{{entry.country|escape}}</td>
<td>{{entry.member_type|escape}}</td>
<td>created {{entry.created|date:"Y/m/d H:i:s"}} by {{entry.racedirector}}</td>
</tr>
{%endfor%}
</table>

<!-- a href="{%url views.entry race.key.id%}">Create new entry</a -->
<a href="http://move.brooklynmarathon.com{%url views.exportclubentries club.key.id%}">Export</a>
<br/><a href="http://move.brooklynmarathon.com{%url views.exportclubentriespaged club.key.id%}">Export2 <!-- (use for cases where you have 1000 entries or more) --></a>

{%endblock%}
